Automatically fidn duplicates